package com.ostrich.module_home.nominate

import androidx.lifecycle.LiveData
import com.ostrich.library_base.BaseViewModel
import com.ostrich.library_net.BaseResponse
import com.ostrich.module_home.HomeApi
import com.ostrich.module_home.HomeRepository
import com.ostrich.module_home.nominate.entity.NominateEntity

/**
 * @Author : yaotianxue
 * @Time : On 2023/10/27 11:15
 * @Description : NominateViewModel
 */
class NominateViewModel:BaseViewModel() {
    private val homeRepository:HomeRepository by lazy{
        HomeRepository()
    }
    fun nominate(): LiveData<BaseResponse<MutableList<NominateEntity>>> {
        return homeRepository.nominate()
    }

}